# -*- coding: utf-8 -*-
"""
Created on Fri Sep  3 16:53:57 2021

@author: 刘长奇-2019300677
"""

i=2
num=j=0
while i<=100:
    num=i*pow(-1,j)+num
    i+=1
    j+=1
print(num)